In this step you fine-tune the bloom effect by reapplying it three times. To make the effect spread to a wider area and look more realistic, you adjust the settings of the blur and the intensity of the bloom in each pass.
To fine-tune the bloom effect:
Composition Target Render Pass | Resolution Divisor |
---|---|
Horizontal Bloom 2 | 8 |
Vertical Bloom 2 | 8 |
Horizontal Bloom 3 | 16 |
Vertical Bloom 3 | 16 |
Horizontal Bloom 4 | 32 |
Vertical Bloom 4 | 32 |
Blit Render Pass | Texture0 | Material | Blur Direction X | Blur Direction Y | Blur Radius | Intensity |
---|---|---|---|---|---|---|
Horizontal Bloom 2 > Blit Horizontal Bloom | Vertical Bloom 1 | GaussianBloom09Material | 1 | 0 | 4 | 1 |
Vertical Bloom 2 > Blit Vertical Bloom | Horizontal Bloom 2 | GaussianBloom09Material | 0 | 0,25 | 4 | 1 |
Horizontal Bloom 3 > Blit Horizontal Bloom | Vertical Bloom 2 | GaussianBloom13Material | 1 | 0 | 4 | 2,5 |
Vertical Bloom 3 > Blit Vertical Bloom | Horizontal Bloom 3 | GaussianBloom13Material | 0 | 0,5 | 4 | 2,5 |
Horizontal Bloom 4 > Blit Horizontal Bloom | Vertical Bloom 3 | GaussianBloom15Material | 1 | 0 | 4 | 2 |
Vertical Bloom 4 > Blit Vertical Bloom | Horizontal Bloom 4 | GaussianBloom15Material | 0 | 0,5 | 4 | 2 |
In this tutorial you learned how to use render passes and shaders to apply a bloom effect on 3D content.
Now you can:
To find out more about working with the Preview Camera tool, see Using the Camera node.
To learn more about the render passes in Kanzi, see Rendering.